package com.jwsoft.manager.common.vo.eduAddressTree;

import com.bifang.assistant.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 地址树移动节点请求参数
 *
 * @author fangs
 */
@Data
@Schema(name = "MoveNodeReqVO", title = "地址树移动节点请求参数", description = "地址树移动节点请求参数")
public class MoveNodeReqVO extends BaseVO {
    private static final long serialVersionUID = 1906782983611356134L;
    @Schema(name = "addressId", title = "地址树节点id")
    @NotNull(message = "移动节点id不能为空")
    private Long addressId;
//    @Schema(name = "sourceParentId", title = "源父节点")
//    @NotNull(message = "源父节点id不能为空")
//    private Long sourceParentId;
    @Schema(name = "targetParentId", title = "目标父节点")
    @NotNull(message = "目标父节点id不能为空")
    private Long targetParentId;
}
